<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<!--#include file="includes/common.aspx"-->
<!--#include file="includes/includeitems.aspx"-->
<script  runat="server">
Dim continue=""
Sub Page_Load(ByVal sender As Object, _
	ByVal e As EventArgs)
	continue="id="&request.querystring("id")
	continue += "&rows="&request.querystring("rows")
	continue += "&pages="&request.querystring("pages")
	continue +="&page="&request.querystring("page")
	continue += "&sort="&request.querystring("sort")
	continue +="&from_="&request.querystring("from_")
	if session("shoppingcarts")="" then
		response.redirect("expiry.aspx?" & continue)
	end if
End Sub
</script>
<HTML><HEAD><TITLE>InterShop-Online Shopping</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<META content=""  name=description>
<META content="trading software platform" name=keywords>
<META http-equiv=Pragma content=no-cache>
<LINK href="style.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript>
        	self.defaultStatus = "Online-Shopping!";                           
</SCRIPT>
<script language=javascript>
function checkinput()
{	

	if((frmOrder.rdcust[1].checked==true) && (frmOrder.txtpwd.value==""))
	{
	alert("Please enter your password");
	frmOrder.txtpwd.focus();
	return false;
	}

	if(frmOrder.txtfullname.value=="")
	{
	alert("Please enter your Fullname");
	frmOrder.txtfullname.focus();
	return false;
	}	
	if(frmOrder.txtaddress.value=="")
	{
	alert("Please enter your Address");
	frmOrder.txtaddress.focus();
	return false;
	}
	if(frmOrder.txttel.value=="")
	{
	alert("Please enter your Telephone");
	frmOrder.txttel.focus();
	return false;
	}
	if(frmOrder.cbProvinces.value=="")
	{
	alert("Please enter your Province");
	
	return false;
	}
	return true;
	
}

</script>
</HEAD>
<BODY bottomMargin=0 leftMargin=0 topMargin=0  rightMargin=0 marginheight="0"  marginwidth="0">
<!--#include file="top.aspx"-->
<TABLE cellSpacing=0 cellPadding=0 border=0  width="775" >
  <TBODY> 
  <TR>
    <TD vAlign=top align="center" width="160"> 
      <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/new-products.gif" height="19" width="155"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% height="49"> 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" height="51" bgcolor="#EEEECC"> 
                              <table cellspacing=0 cellpadding=0 border=0  width="100%">
                                <tr> 
                                  <td colspan=2>&nbsp;</td>
                                </tr>
                                <tbody> 
                                <tr  align="left"> 
                                  <td colspan=2> 
                                    <input size=15  onFocus="this.value = '';" value="Keyword" name=txtKeyword class=textbox>
                                  </td>
                                </tr>
                                <tr> 
                                  <td align=left> 
                                    <select name="cbCate">
                                      <option selected>All Products</option>
                                      <option>Books</option>
                                      <option>Poems</option>
                                    </select>
                                    <img height=21 
            alt="Click here to search the Item." 
            src="images/go.gif" 
            width=21 align=absMiddle 
      border=0></td>
                                </tr>
                                </tbody> 
                              </table>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
	  <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/new-products.gif" height="19" width="155"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% > 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" bgcolor="#CAE2F0"> 
                              <input size=15  onFocus="this.value = '';" value="Keyword" name=txtKeyword2 class=textbox>
                              <img height=21 
            alt="Click here to search the Item." 
            src="images/go-button.gif" 
            width=21 align=absMiddle 
      border=0> <br>
                              <img src="images/powered-by-google.gif" width="95" height="14"> 
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
       <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/browse-items.gif" width="155" height="19"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% height="49"> 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" height="51" bgcolor="#CAE2F0">
							 <!--#include file="includes/listsubcategories.htm"-->
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
      <!--#include file="left.aspx"-->
    </TD>
    <TD class=margin width="1" valign="top" align="right" bgcolor="#666666" > 
    </TD>
    <TD class=text_normal id=mainContent vAlign=top width="420"> 
      <TABLE cellSpacing=4 cellPadding=4 width="100%" align=left border=0 height="61">
        <TR> 
          <TD vAlign=top align=left height="46"> 
            <!--#include file="submenu.aspx"--><br>
	<img src="images/newusers.gif">
             </TD>
        </TR>
        <TBODY> 
        <TR> 
          <TD vAlign=top align=left>
	 
                  <form action="orders.aspx?<%=continue%>" method="post" name="frmOrder" onSubmit="return checkinput();">
                    <table width="400" border="0" cellspacing="0" cellpadding="0" >
                      <tr> 
                        <td align="left" valign="top" > 
		<b>Xin vui lòng cung cấp các thông tin đăng ký mới người dùng.</b>
		<br>
                          <table width="100%" border="0" cellspacing="4" cellpadding="1">
                            <tr> 
                              <td  valign="top"> 
                                <table width="100%" border="0" cellspacing="4" cellpadding="4">
                                  <%
			if request.form("rdcusttype")="new" then
			%>
                                  <tr> 
                                    <td width="20%" nowrap><font face="Arial">Email 
                                      address:</font> </td>
                                    <td width="80%"><b><font face="Arial"> 
                                      <%=request.form("txtemail")%>
                                      </font></b>
                                      <input name="txtemail" type="hidden" value="<%=request.form("txtemail")%>">
                                      <br>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td width="100%" colspan=2> <font face="Arial"> 
                                      Do you want to become our customer? 
                                      <input name="rdcust" type="radio" value="No" checked>
                                      No 
                                      <input type="radio" name="rdcust" value="Yes">
                                      Yes</font><br>
                                      If Yes, please provide password 
                                      <input name="txtpwd" type="password" class=textbox size="10" maxlength="10" >
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td width="20%"><font face="Arial">Full Name</font><font color=red>*</font>	
                                    </td>
                                    <td width="80%"> <font face="Arial"> 
                                      <input name="txtfullname" type="text"   class=textbox size="30" maxlength="50" >
                                      </font></td>
                                  </tr>
                                  <tr> 
                                    <td width="20%"><font face="Arial">Address</font><font color=red>*</font>	
                                    </td>
                                    <td width="80%"> <font face="Arial"> 
                                      <input name="txtaddress" type="text" class=textbox size="30" maxlength="100" >
                                      </font></td>
                                  </tr>
                                  <tr> 
                                    <td width="20%"><font face="Arial">Telephone</font><font color=red>*</font>	
                                    </td>
                                    <td width="80%"> <font face="Arial"> 
                                      <input name="txttel" type="text" class=textbox size="30" maxlength="20" >
                                      </font></td>
                                  </tr>
                                  <tr> 
                                    <td width="20%"><font face="Arial">Fax No</font></td>
                                    <td width="80%"> <font face="Arial"> 
                                      <input name="txtfax" type="text"  class=textbox size="30" maxlength="10" >
                                      </font></td>
                                  </tr>
                                  <tr> 
                                    <td width="20%"><font face="Arial">Contact 
                                      Person</font></td>
                                    <td width="80%"> <font face="Arial"> 
                                      <input name="txtcontact" type="text" class=textbox size="30" maxlength="50" >
                                      </font></td>
                                  </tr>
		      <tr> 
                                    <td width="20%"><font face="Arial">Contact 
                                      Time</font></td>
                                    <td width="80%"> <font face="Arial"> 
                                      <input name="txtcontacttime" type="text" class=textbox size="30" maxlength="10" >
                                      </font></td>
                                  </tr>
		      <tr> 
                                    <td width="20%"><font face="Arial">City
                                     </font></td>
                                    <td width="80%"> <font face="Arial"> 
                                      <input name="txtcity" type="text" class=textbox size="30" maxlength="50" >
                                      </font></td>
                                  </tr>
                                  <tr> 
                                    <td width="20%"><font face="Arial">Province</font><font color=red>*</font>	
                                    </td>
                                    <td width="80%"> 
                                     
                                        <!--#include file="includes/selectProvinces.htm"-->
                                   
                                      <input type=hidden name=custtype value="new">
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td width="20%"><font face="Arial">&nbsp;</font></td>
                                    <td width="80%"> <font face="Arial"><br>
                                      <input type="submit" name="Submit" value="Register" class=button>
                                      <input name="rdcusttype" type="hidden" value="new">
                                      <input type="button" name="Back" value="Back" class=button onClick="history.go(-1);">
                                      </font></td>
                                  </tr>
                                  <%else%>
                                  <tr> 
                                    <td colspan=2> <font face="Arial"> Sorry! 
                                      you are not about this page. </font><br>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td width="20%"><font face="Arial">&nbsp;</font></td>
                                    <td width="80%"> <font face="Arial"><br>
                                      <input type="button" name="Back" value="Back" class=button onClick="history.go(-1);">
                                      </font></td>
                                  </tr>
                                  <%end if%>
                                </table>
                              </td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                    </table>
                  </form>
          </TD>
        </TR>
        </TBODY> 
      </TABLE>
    </TD>
    <TD class=margin width="1" valign="top" align="right" bgcolor="#666666" > 
    </TD>
    <TD class=margin valign="top" align="left" width="160"> 
      <TABLE>        
        <tr> 
          <td>&nbsp;</td>
          <td valign=top> 
            <!--#include file="includes/right-next.htm" -->
          </td>
        </tr>
      
        <tr> 
          <td>&nbsp;</td>
          <td valign=top> <br>
            <table width="18%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td align="center"> 
                  <table border=0 cellspacing=0 cellpadding=0>
                    <tr valign=bottom align=center> 
                      <td><img src="images/new-products.gif" width="155" height="19"></td>
                    </tr>
                    <tr valign=top align=center> 
                      <td> 
                        <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                          <tr> 
                            <td width=100%> 
                              <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                                <tr> 
                                  <td valign=top width=8% align="left" height="52"> 
                                    <p>&nbsp;</p>
                                  </td>
                                  <td valign=top width=92% align="left" height="52"> 
                                    <!--#include file="includes/right-top.htm" -->
                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                        </table>
                  </table>
            </table>
          </td>
        </tr>
      </TABLE>
    </TD>
  </TR></TBODY></TABLE>
  <!--#include file="bottom.aspx"-->
</BODY></HTML>
